#ifndef _INPUT_MANAGER_H_
#define _INPUT_MANAGER_H_
#include <Ogre.h>
#include <OIS.h>

class PapaBallInputManager:public Ogre::Singleton<PapaBallInputManager>
{
private:
	bool mIsInit;
	OIS::InputManager* mInputManager;
	OIS::Mouse* mMouse;
	OIS::Keyboard* mKeyboard;
public:
	OIS::InputManager* GetInputMgr(){return mInputManager;}
	OIS::Mouse* GetMouseDevice(){return mMouse;}
	OIS::Keyboard* GetKeyBoardDevice(){return mKeyboard;}
public:
	void CaptureAll();
public:
	void CreateInputManager(OIS::ParamList pl);
public:
	PapaBallInputManager():mIsInit(false){}
};


#endif